package net.modul.dept.service;

import java.util.List;

import net.common.service.GeneralService;
import net.modul.dept.dao.DeptDao;
import net.modul.dept.dao.impl.DeptDaoImpl;
import net.modul.dept.vo.DeptVo;

/**
 * 部门查询业务处理
 * 
 * @author Administrator
 * 
 */
public class DeptSearchService extends GeneralService {

	private List<DeptVo> list;

	@Override
	public void execute() throws Exception {
		DeptDao dao = new DeptDaoImpl();
		list = dao.search(pageBean);
	}

	public List<DeptVo> getList() {
		return list;
	}

}
